
<link rel="StyleSheet" href="http://www.candres.com/tree.css" type="text/css">
<script type="text/javascript" src="http://www.candres.com/tree.js"></script>
<script type="text/javascript">
		<!--
		var Tree = new Array;
		
		<?php include('conf/conexion.php');
			$sql = mysql_query("SELECT * FROM categoria");
			
			$temp = 0;
			while($row=mysql_fetch_array($sql)){
				echo("Tree[".$temp."] = '".$row[0]."|".$row[2]."|".$row[1]."|"."index.php?site=catalogo&cat=".$row[0]."';");
				$temp++;
			}
			
		?>
		// nodeId | parentNodeId | nodeName | nodeUrl
	
		//-->
</script>


<div class="tree">
<script type="text/javascript">
<!--
	createTree(Tree);
//-->
</script>
</div>


